package com.easyjava.qingke.project.mybatis.IDao;

import java.util.List;

import com.easyjava.qingke.project.mybatis.pojo.Project;

public interface ProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Project record);

    int insertSelective(Project record);

    Project selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKey(Project record);
    
    List<Project> selectProject();
    
    Project getProjectByName(String name);
    
    Project getProjectByCode(String code);
}